package com.lyf.system.api.domain;

import com.lyf.common.core.annotation.Excel;
import com.lyf.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * 超市对象 t_supermarket
 * 
 * @author lyf
 * @date 2023-02-09
 */
public class Supermarket extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 超市名称 */
    @Excel(name = "超市名称")
    private String name;

    /** 负责人 */
    @Excel(name = "负责人")
    private String manager;

    /** 超市地址 */
    @Excel(name = "超市地址")
    private String address;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;

    /** 超市照片 */
    @Excel(name = "超市照片")
    private String photo;

    /** 超市规模 */
    @Excel(name = "超市规模")
    private String size;

    /** 社会信用代码 */
    @Excel(name = "社会信用代码")
    private String creditCode;

    /** 社会信用代码图片 */
    @Excel(name = "社会信用代码图片")
    private String creditCodePhtot;

    /** 逻辑删除状态（0：未删除 1：已删除) */
    private String delFlag;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    private Long userId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setManager(String manager) 
    {
        this.manager = manager;
    }

    public String getManager() 
    {
        return manager;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setPhoto(String photo) 
    {
        this.photo = photo;
    }

    public String getPhoto() 
    {
        return photo;
    }
    public void setSize(String size) 
    {
        this.size = size;
    }

    public String getSize() 
    {
        return size;
    }
    public void setCreditCode(String creditCode) 
    {
        this.creditCode = creditCode;
    }

    public String getCreditCode() 
    {
        return creditCode;
    }
    public void setCreditCodePhtot(String creditCodePhtot) 
    {
        this.creditCodePhtot = creditCodePhtot;
    }

    public String getCreditCodePhtot() 
    {
        return creditCodePhtot;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("manager", getManager())
            .append("address", getAddress())
            .append("phone", getPhone())
            .append("photo", getPhoto())
            .append("size", getSize())
            .append("creditCode", getCreditCode())
            .append("creditCodePhtot", getCreditCodePhtot())
            .append("delFlag", getDelFlag())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("remarks", getRemarks())
            .append("userId",getUserId())
            .toString();
    }
}
